#ifndef PSNR_COMPARE_H
#define PSNR_COMPARE_H

#include <string>
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>

/**
* https://blog.csdn.net/wangyaninglm/article/details/43853435
*/
class PsnrCompare
{
public:
	double matCompare(std::string matSrcPath, std::string matDstPath);

private:
	double getPSNR(const cv::Mat& matSrc, const cv::Mat& matDst);
};

#endif

